﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DatabaseItemLoadEventArgs.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The db item load event args.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.Common.Model
{
    using System;
    using Comparer;

    /// <summary>
    /// The db item load event args.
    /// </summary>
    public class DatabaseItemLoadEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DatabaseItemLoadEventArgs"/> class.
        /// </summary>
        /// <param name="infoIndex">
        /// The db info index.
        /// </param>
        /// <param name="objectType">
        /// The object type.
        /// </param>
        /// <param name="objectName">
        /// The object name.
        /// </param>
        public DatabaseItemLoadEventArgs(SelectedDatabase infoIndex, string objectType, string objectName)
        {
            this.InfoIndex = infoIndex;
            this.ObjectName = objectName;
            this.ObjectType = objectType;
        }

        /// <summary>
        /// Gets infoIndex.
        /// </summary>
        public SelectedDatabase InfoIndex { get; private set; }

        /// <summary>
        /// Gets ObjectType.
        /// </summary>
        public string ObjectType { get; private set; }

        /// <summary>
        /// Gets ObjectName.
        /// </summary>
        public string ObjectName { get; private set; }
    }
}